package com.iw.sms.quartz;

import javax.annotation.Resource;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;
@Component("quartzService")
public class QuartzService {

	@Autowired
	private AutoReciveQuartz autoReciveQuartz;
	@Autowired
	private AutoReplyQuartz autoReplyQuartz;
	@Resource
	@Autowired
	private AutoComplete autoComplete;
	public void work() {
		autoReciveQuartz.run();
		autoReplyQuartz.run();
	}
	
	public void autoComplete() {
		autoComplete.autoSaveOrder();
	}
}
